package com.youxuit.youxu;

import org.mybatis.spring.annotation.MapperScan;
import org.slf4j.Logger;
import org.slf4j.LoggerFactory;
import org.springframework.boot.SpringApplication;
import org.springframework.boot.autoconfigure.SpringBootApplication;
import org.springframework.boot.autoconfigure.jdbc.DataSourceAutoConfiguration;
import org.springframework.scheduling.annotation.EnableScheduling;

@SpringBootApplication(exclude= DataSourceAutoConfiguration.class)
@EnableScheduling
@MapperScan("com.youxuit.youxu.mapper")
public class YouxuApplication {

    private static Logger logger = LoggerFactory.getLogger(YouxuApplication.class);

    public static void main(String[] args) {
        SpringApplication.run(YouxuApplication.class, args);
        logger.info("项目启动成功！");
    }

}
